<style>
    .pagination{
        padding-left: 0;
        margin: 2px 0;
        border-radius: 4px;
    }
</style>
<div class="page-content">
    <div class="col-sm-6 pull-right">
    </div>
    <div class="page-header">
        <h1>
            证券值估
        </h1>
    </div><!-- /.page-header -->

    <form class="form-horizontal" role="form" action="{:url('index')}" method="post" name="myfrom">
        <div  class="form-group" >
            <label class="control-label pull-left" style="margin-left: 20px;">公司名称：</label>
            <div >
                <input type="text" class="col-xs-5 col-sm-2" value="{$name}" name="name">
            </div>
            <span class="btn btn-sm btn-primary pull-left" style="margin-left: 10px;" onclick="myfrom.submit()">
            搜素
            <i class="icon-reply icon-only"></i>
        </span>
        </div>

    </form>

    <div class="row">
        <div class="col-xs-12">
            <!-- PAGE CONTENT BEGINS -->
            <div class="row">

                <div class="col-xs-12">

                    <table id="simple-table" class="table  table-bordered table-hover" style="vertical-align:middle;">
                        <thead>
                            <tr>

                                <th class="detail-col">ID</th>
                                <th style="width: 16.5%;text-align:left; vertical-align:middle;">公司名称</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">证券名称</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">证券编号</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">现价</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">GL估值</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">LQ估值</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">差率</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">增长率</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">市盈率(TTM)</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">社保</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            {volist name="lists" id="vo"}
                            <tr>

                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.sid}</td>
                                <td style="width: 16.5%;text-align:left; vertical-align:middle;">{$vo.institutions_name}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.stock_name}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.stock_code}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.price}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.gl_intrinsic}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.lq_peg}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.cl}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.ratio}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.price_earnings_ratio_ttm}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;"></td>
                                <td>
                                    <a href='{:url("del","sid=$vo[sid]&stock_code=$vo[stock_code]&status=0")}'>
                                    <span class="btn btn-xs 3tn-info">
                                                        删除
                                    <i class="icon-reply icon-only"></i>
                                            </span>
                                    </a>
                                </td>
                            </tr>
                            {/volist}    
                        </tbody>
                    </table>
                   
                </div><!-- /.span -->
            </div><!-- /.row -->
           
            <!-- PAGE CONTENT ENDS -->
        </div><!-- /.col -->
    </div><!-- /.row -->
</div><!-- /.page-content -->




